package com.learn.word.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Valley
 * Created by Valley on 2023/6/25 18:09
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("learn_word_user")
public class User {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField
    private String username;

    @TableField
    private String password;

    @TableField
    private String telephone;

    @TableField("create_time")
    private String createTime;

}
